package com.novax.ex.activity.open.model.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description ieo活动配置 response
 * @Author Cody
 * @Date 2022/12/01/18:19
 */
@Schema(description = "ieo活动配置 response")
@Data
public class IeoConfigResponse {
    @Schema(description = "活动id")
    private Long id;
    @Schema(description = "项目名")
    private String projectName;
    @Schema(description = "项目币种")
    private String currency;
    @Schema(description = "币种图片")
    private String img;
    @Schema(description = "认购限制")
    private Integer vipLimit;
    @Schema(description = "真实分配总份数")
    private Integer sharePortion;
    @Schema(description = "已注册天数限制（天）")
    private Integer register;
    @Schema(description = "已认购份数的倍数（倍）")
    private BigDecimal multiple;
    @Schema(description = "每份数量")
    private BigDecimal amount;
    @Schema(description = "下级人数限制")
    private Integer invitee;
    @Schema(description = "解锁时间")
    private Date unlockTime;
    @Schema(description = "状态 0=未开启 1=开启")
    private Integer state;
    @Schema(description = "权重")
    private BigDecimal coefficient;
    @Schema(description = "认购时间-开始时间")
    private Date startTime;
    @Schema(description = "认购时间-结束时间")
    private Date endTime;
    @Schema(description = "前台显示的认购份数")
    private Integer displayCount;
    @Schema(description = "总份数")
    private Integer portion;
    @Schema(description = "是否开启分期 0 = 未开启, 1 = 开启")
    private Integer stage;
    @Schema(description = "是否解冻并发放过新币 默认值为：0, 已结算:1 , 已发币:2")
    private Integer unfreeze;
    @Schema(description = "历史最高涨幅 (已乘100)")
    private Integer increaseHistory;
    @Schema(description = "分期配置")
    private List<IeoExtStagesResponse> ieoStagesList;
}
